﻿using System;
using SLS.ExClassLib.Message;
namespace SLS.ExClassLib.Events
{
	/// <summary>
	/// Project event types
	/// </summary> 
    public enum EventType
    {
        UI2UI, 
        UI2WF,
        UI2WC,
        WF2UI,
        WF2WF,
        RTI2FED,
        FED2RTI
    }

    public class MessageExEventArgs : EventArgs
	{
        public MessageExEventArgs(MessageEx msg,object data, EventType type=EventType.UI2UI) 
        {
            Data = data;
            What = msg;
            EventType = type;
        } 

        public Object Data { get; set; }
        public EventType EventType { get; set; }
		public MessageEx What{ get; set; }
       
	}
    
}
